<template>
  <div>
      <Artitem v-for ="obj in list" :key="obj.art_id" :artObj="obj" @removeArt='removeFn'></Artitem>
  </div>
</template>

<script>
import Artitem from './ArticalItem'
export default {
  props: {
    list: Array
  },
  components: {
    Artitem
  },
  methods: {
    removeFn (art_id, type) {
      // 删除文章
      this.$emit('removeA', art_id, type)
    }
  }
}
</script>

<style>

</style>
